package com.android.namecard;

import com.android.namecard.activity.FindPathMapActivity;
import com.android.namecard.activity.WelcomeActivity;

import android.app.Activity;
import android.app.SearchManager;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
        Button button1 = (Button)findViewById(R.id.button1);
        OnClickListener listener1 = new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(MainActivity.this, WelcomeActivity.class);
				//Intent intent = new Intent(MainActivity.this, DBTestActivity.class);
				//Intent intent = new Intent(MainActivity.this, FindPathMapActivity.class);
				startActivity(intent);
				
			}
        	
        };
        
        button1.setOnClickListener(listener1);
    }
}